ISlave.AoeWriteControlCommand 方法

透过 AoE (ADS over EtherCAT) 传送命令给装置。

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
IKsCommand AoeWriteControlCommand(
       int port,
       ushort aoeState,
       ushort deviceState,
       byte[] value
)
Function AoeWriteControlCommand(
       port As Integer,
       aoeState As UShort,
       deviceState As UShort,
       value As Byte()
) As IKsCommand

参数

port

型别:int

EtherCAT 从站埠。

 

aoeState

型别:ushort

命令执行中的 AoE 状态。

 

deviceState

型别:ushort

命令执行时的装置状态,不同装置有不同状态。

 

value

型别:byte[]

欲执行命令的值的指标。

回传值

型别:IKsCommand

回传一个方法的状态。

可用的 EtherCAT 状态

ecatPreOP, ecatSafeOP, ecatOP

参见

ISlave 介面

IntervalZero.KINGSTAR.Base.Class 命名空间